package com.guaoran.spring.demo.bean;

/**
 * @author : 孤傲然
 * @Description :
 * @date :2018/6/2 15:10
 */
public class Demo {
    private Long id;
    private String name;
    private int age;
    private String address;
    private String carId;

    public Demo() {
    }

    public Demo(Long id, String name, int age, String address, String carId) {
        this.id = id;
        this.name = name;
        this.age = age;
        this.address = address;
        this.carId = carId;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getCarId() {
        return carId;
    }

    public void setCarId(String carId) {
        this.carId = carId;
    }

    @Override
    public String toString() {
        return "Demo{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", age=" + age +
                ", address='" + address + '\'' +
                ", carId='" + carId + '\'' +
                '}';
    }
}
